import {
  UserOutlined,
  MessageOutlined,
} from '@ant-design/icons';

// 菜单数据
export const routes = [
  {
    path: '/message-middleware', 
    name: '消息中间件',
    icon: <MessageOutlined />,
    routes: [
      {
        path: '/message-middleware/compare', 
        name: '消息中间件选型指南',
      },
      {
        path: '/message-middleware/quickstart-rocketmq', 
        name: 'RocketMQ 快速启动',
      },
      {
        path: '/message-middleware/domain-architecture-rocketmq', 
        name: 'RocketMQ 领域架构',
      },
      {
        path: '/message-middleware/service-architecture-rocketmq', 
        name: 'RocketMQ 服务架构',
      },
      {
        path: '/message-middleware/communication-model-rocketmq', 
        name: 'RocketMQ 通信传输',
      },
      {
        path: '/message-middleware/features-rocketmq', 
        name: 'RocketMQ 功能特性',
      },
    ]
  },
  {
    path: '/about',
    name: '关于我',
    icon: <UserOutlined />,
  },
];